package com.yikome.product.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "p_product_set")
public class ProductSet implements Serializable{

    private static final long serialVersionUID = -7680906310661464850L;
    
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    
    private Long productId ; 
    
    private String setTitle ; //套餐名稱
   
    private BigDecimal setPrice ; 
    
    private Integer setNumber ; 
}
